import { SYS_LOCAL_DIC } from '@/util/SYS_LOCAL_DIC'

export default {
    index: false,
    addBtn: false,
    addRowBtn: false,
    editBtn: false,
    delBtn: true,
    border: true,
    expand: false,
    excelBtn:true,
    menuWidth:70,
    // title:'系统日志表',//表格的标题
    stripe: false,
    selection: true,
    menuBtn: true,
    menuAlign: 'center',
    align: 'center',
    searchSize: 'small',
    dicData: SYS_LOCAL_DIC,
    column: [{
            label: "用户",
            prop: "userName",
            width: 80,
            sortable: true,
            search: true,
            solt: true,
            showClomnu: false, 
        },
        {
            label: "日志标题",
            prop: "title",
            width: 120,
            sortable: true,
            search: true,
            solt: true,
        },
        {
            label: "接口地址",
            prop: "requestUri",
            width: 200,
            sortable: true,
            search: true,
            solt: true,
        },
        {
            label: "IP地址",
            prop: "clientHost",
            width: 120,
            sortable: true,
            search: true,
            solt: true,
        },
        {
            label: "方式",
            prop: "method",
            width: 60,
            sortable: true,
            search: true,
            solt: true,
        },
        {
            label: "请求参数",
            prop: "parameters",
            width: 300,
            sortable: false,
            search: false,
            solt: true,
        },
        {
            label: "代码",
            prop: "status",
            width: 60,
            sortable: true,
            search: true,
            solt: true,
        },
        {
            label: "请求时间",
            prop: "updateTime",
            span:24,
            row:true,
            type: 'datetimerange',
            startPlaceholder: '开始时间',
            endPlaceholder: '结束时间',
            search: true,
            addDisplay:false,
            editDisplay:false,
            format:'yyyy年MM月dd日HH时mm分ss秒',
        },
    ]
};